package cn.agiledata.bank.linkbank.impl.abc;

import java.math.BigDecimal;
import java.util.Date;

import cn.agiledata.bank.common.util.Constant;
import cn.agiledata.bank.linkbank.logic.query.BankOrder;

/**
 * 中国农业银行网上银行订单
 * 
 * @author 马贤波
 * 
 */
public final class AbcOrder implements BankOrder {
    private String orderId;

    private BigDecimal amount;

    private String remark;

    private Date createTime;

    private String status;

    /**
     * 是否支付订单，true-支付订单，false-退款订单
     */
    private boolean paymentOrder = true;

    /**
     * 凭证号
     */
    private String voucherNo;

    public BigDecimal getAmount() {
        return this.amount;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getCurrencyType() {
        return Constant.CURRENCY_RMB;
    }

    public String getOrderId() {
        return this.orderId;
    }

    public String getRemark() {
        return this.remark;
    }

    public String getStatus() {
        return this.status;
    }

    public String getVoucherNo() {
        return this.voucherNo;
    }

    public boolean isPaymentOrder() {
        return this.paymentOrder;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setPaymentOrder(boolean paymentOrder) {
        this.paymentOrder = paymentOrder;
    }

    public void setVoucherNo(String voucherNo) {
        this.voucherNo = voucherNo;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
